//
// Created by 陈 on 2023/12/2.
//
#include <iostream>
#include <boss.hpp>
// #include <utility>
using namespace std;
using namespace name_Worker;


// 构造函数
Boss::Boss(const int id, const int dId, string name)
{
	this->m_Id     = id;
	this->m_DeptId = dId;
	this->m_Name   = std::move(name);
}

// 显示个人信息
void Boss::showInfo()
{
	cout << "岗位编号：" << this->m_Id
		 << "\t职工姓名："<< this->m_Name
		 << "\t岗位：" << this->getDeptName()
		 << "\t岗位职责：管理公司所有事务。" << endl;
}
// 获取岗位名称
string Boss::getDeptName()
{
	return "总裁";
}
// 析构函数
Boss::~Boss() = default;